Fix pytables expressions with Python 3.9
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 4 Nov 2020 18:36:11 +0000 (18:36 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 4 Nov 2020 18:36:11 +0000 (18:36 +0000)
commit406fc65c8790a2e3088dc880c13716887d7b7c18
tree81dbac811ba0c2db2b85f37316d9ff65f276afb9
parentc3875aa81d016a652ad2703e06fb08cbcd4ff7fe
Fix pytables expressions with Python 3.9

ast.Index has been replaced by a bare value, so we need to do the
conversion from Constant to int

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/972015
Forwarded: https://github.com/pandas-dev/pandas/issues/37217

Gbp-Pq: Name python39_compat.patch
pandas/core/computation/pytables.py